PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowDocument Class / setParentStructureElementForContent Method
A com.o2sol.pdf4java.logicalstructure.PDFStructureElement object representing the parent structure element for the flow content objects added to the document.
In This Topic
    setParentStructureElementForContent Method
    In This Topic
    Sets the structure element that serves as parent for the structure elements in the flow content objects.
    By default, the creates a as parent for structure elements defined by the flow content objects. This element is a direct child of the structure element which represents the document and is the root of the structure tree.
    The new parent applies only to flow content objects added to the document after this property has been set.
    The structure element used as parent must be included explicitly in the document's structure tree.
    Syntax
    public void setParentStructureElementForContent( 
       PDFStructureElement value
    )

    Parameters

    value
    A com.o2sol.pdf4java.logicalstructure.PDFStructureElement object representing the parent structure element for the flow content objects added to the document.
    See Also